Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

311
Views
Mobile site presents: ERROR : -> No such file or directory

hope you're well, I am coding a basic Trading site and my main site works yet my mobile site gives me a No File error, I use a js script to redirect people to the mobile directory which just has a few things removed and some css changed.

https://Tom-croft.com

The site is the rleague part, to view as if you were on a mobile device in the dev thing (f12) and click the little phone.

I think its the Js thats wrong so here it is:

<script type="text/javascript">
if (screen.width <= 699) {
document.location = "https://tom-croft.com/rleague/mobile/index.php";
}
</script>

This is in the head of my home.php and index.php on the desktop versionso you are redirected as you enter the site.

Any help is appreciated a lot :D

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Never mind people, it was a database error, I had my config from when I was hosting on xampp, although this is a funny error for a database connect file.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!